import request from '@/utils/request'

export function getList(params) {
  return request.post('buss/wftext/listPage', params)
}

export function submit(data) {
  return request({
    url: 'buss/wftext/add',
    method: 'post',
    data
  })
}

export function resubmit(data) {
  return request({
    url: 'buss/wftext/edit',
    method: 'post',
    data
  })
}


export function del(ids) {
  return request({
    url: 'buss/wftext/del',
    method: 'post',
    data: ids
  })
}

export function audit(data) {
  return request({
    url: 'buss/wftext/audit',
    method: 'post',
    data
  })
}


export function report(data) {
  return request({
    url: 'buss/wftext/report',
    method: 'post',
    data
  })
}
